package edu.maimonides.ejercicios.ides1.gui;

import edu.maimonides.ejercicios.ides1.Calculadora;

public class MockOperacion extends OperacionCalculadora {

	private boolean executada;
	
	public MockOperacion() {
		super(null);
	}

	@Override
	public double realizarOperacion(double valor1, double valor2) {
		this.executada=true;
		return 0;
	}

	public boolean isExecutada() {
		return executada;
	}

	public void setExecutada(boolean executada) {
		this.executada = executada;
	}

}
